The phrase "on a lark" means to do something spontaneously, without any serious intention or planning. It is often used when someone does something unexpectedly or impulsively, usually because they are feeling adventurous or playful. The phrase comes from the idea of doing something for fun, like imitating the sound and flight of a bird called a lark.